package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 服务类别
 *
 */
@TableName(value = "service_category")
public class ServiceCategory implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceCategory> createExample(){
		return new Example<ServiceCategory>(ServiceCategory.class);
	}

	/**  */
	@TableId(value = "category_id")
	private Long categoryId;

	/** 名称 */
	private String name;

	/**创建时间*/
	@TableField(value = "create_time")
	private Date createTime;

	/**更新时间*/
	@TableField(value = "update_time")
	private Date updateTime;

	/**父Id*/
	@TableField(value = "parent_id")
	private Long parentId;

	@TableField(value = "parent_name")
	private String parentName;

	/**分类类型*/
	private Integer type;


	@TableField(value = "fee_category_id")
	private Long feeCategoryId;


	@TableField(value = "fee_category_name")
	private String feeCategoryName;

	@TableField(value = "parent_fee_category_id")
	private Long parentFeeCategoryId;

	@TableField(value = "parent_fee_category_name")
	private String parentFeeCategoryName;

	@TableField(value = "root_id")
	private Long rootId;

	@TableField(value = "level")
	private Integer level;


	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getFeeCategoryId() {
		return feeCategoryId;
	}

	public void setFeeCategoryId(Long feeCategoryId) {
		this.feeCategoryId = feeCategoryId;
	}


	public String getFeeCategoryName() {
		return feeCategoryName;
	}

	public void setFeeCategoryName(String feeCategoryName) {
		this.feeCategoryName = feeCategoryName;
	}

	public Long getParentFeeCategoryId() {
		return parentFeeCategoryId;
	}

	public void setParentFeeCategoryId(Long parentFeeCategoryId) {
		this.parentFeeCategoryId = parentFeeCategoryId;
	}

	public String getParentFeeCategoryName() {
		return parentFeeCategoryName;
	}

	public void setParentFeeCategoryName(String parentFeeCategoryName) {
		this.parentFeeCategoryName = parentFeeCategoryName;
	}

	public Long getRootId() {
		return rootId;
	}

	public void setRootId(Long rootId) {
		this.rootId = rootId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
}
